{% extends "data_list.html" %}
{% load i18n %}
{% block worktable %}{% endblock %}
{% block option_settings %} {% endblock %}
{% block change_pwd %}<a id="id_btn_changePW" ref="/{{request.surl }}selfservice/password_change/" href='javascript:void(0);' >{% trans '修改密码' %}</a>{% endblock %}
{% block headjs %}<script src="{{ MEDIA_URL }}/jslib/change_pwd_self.js"></script>{% endblock %}


{% block getdatalist %}
    $("#id_datalist").model_grid({
        model_action_container:$("#id_op_for_tab"),
        dbapp_url:"{{ dbapp_url }}",
        model_url:"{{ model_url }}",
        multiple_select:null,
        row_operations:["op_edit","_delete","View_detail"{% block extend_row_operations %}{% endblock %}],
        init_after_get_jdata:function(){
            $("#id_datalist").get(0).g.a_div.after("<div class='floatL' style='_position:relative;_z-index:10;'><ul id='id_action_more' class='nav Link_blue2 font12 noUnderl floatL ul_action_more'><li><a href='javascript:void(0)' class='action_more'>{% trans '更多' %}...</a><ul class='action_more_list'></ul></li></ul></div>");
            var $app_menu=$("#id_datalist").get(0).g.a_div;
            var $menu_more=$(".action_more_list");
            var min_width=300;
            resize_menu($app_menu,$menu_more,min_width,"id_action_more");
            $('.nav li').sfHover();						
        },
        disabled_actions:["_change"]
    });
    
{% endblock %}
